﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginCtrl.ascx.cs" Inherits="badminton.Controls.LoginCtrl" %>

<div id="login" 
    style="border: 1px solid #C0C0C0; height: 338px; width: 220px;" >

    <table cellpadding="4" cellspacing="0" style="border-collapse:collapse;" width="100%">
        <tr>
            <td align="center" colspan=2 class = "title">
                登&nbsp;&nbsp;录
            </td>
        </tr>
        <tr>
            <td align="center">用户名:</td>
            <td>
                <asp:TextBox ID="UserName" runat="server"  Width="110"></asp:TextBox>
            </td>                             
        </tr>
        <tr>
           <td align="center">密&nbsp;&nbsp;&nbsp;码:</td>
            <td>
                <asp:TextBox ID="Password1" runat="server" TextMode="Password" Width="110"></asp:TextBox>
            </td>
        </tr>
        <tr>
           <td align="center">类&nbsp;&nbsp;&nbsp;型:</td>
           <td>
                <asp:DropDownList ID="DropDownList_usertype" runat="server" Width="110">
                </asp:DropDownList>&nbsp;
                
            </td>
        </tr>
        <tr>
            <td align="right" colspan="2">
             <asp:Label ID="FailureText" runat="server" EnableViewState="False" 
                    Font-Italic="True" ForeColor="Red" />
              <asp:Button ID="LoginButton" runat="server"  Text="登录" ValidationGroup="Login1" 
                    onclick="OnLogin" />   &nbsp;
            </td>
        </tr>
        <tr>

            <td colspan="2" align="center" >
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            </td>

        </tr>
        <tr>

            <td colspan="2" align="center" >
                <asp:Literal ID="Literal2" runat="server"></asp:Literal>
            </td>

        </tr>

    </table>

</div>